package com.design.design.pattern.structural.decorator.v1BadExtention;

/**
 * @author TomDragon
 */
public class ButterCakeWithEgg extends ButterCake {
    @Override
    protected String getDesc() {
        return super.getDesc() + " 加1个鸡蛋";
    }

    @Override
    protected int cost() {
        return super.cost() + 1;
    }
}
